﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            const int ABC = 1;
            string studyName;
            int studyNum;
            int a = 1;
            if (a==1)
            {
                Console.WriteLine("xxx");
            }

            if (a > 1)
            {
                Console.WriteLine("xxx");
            }else
            {
                Console.WriteLine("bbb");
            }

            a = 4;

            if (a == 1)
            {
                Console.WriteLine("xxx");
            }
            else if(a == 3)
            {
                Console.WriteLine("bbb");
            }else
            {
                Console.WriteLine("ttt");
            }

            for (int i = 1;i<=10;i++) {
                Console.WriteLine("请输入学生考试的成绩（0~100的整数）");
                int c = int.Parse(Console.ReadLine());
                switch (c / 10)
                {
                    case 10:
                        Console.WriteLine("优秀");
                            break;
                    case 9:
                        Console.WriteLine("优秀");
                        break;
                    case 8:
                        Console.WriteLine("良好");
                        break;
                    case 7:
                        Console.WriteLine("优秀");
                            break;
                    case 6:
                        Console.WriteLine("及格");
                        break;
                    default:
                        Console.WriteLine("不及格");
                        break;
                }
            }
        }
    }
    class StudyName
    {

    }
    interface IStudyName
    {

    }
}
